import api from "@/utils/service";

export const upload = (data) => {
  return api({
    url: "/upload",
    method: "post",
    data,
  });
}

export const hospitalList = (data) => {
  return api({
    url: "/hospital/list",
    method: "get",
    params: { ...data },
  });
};

export const hospitalEdit = (data) => {
  return api({
    url: "/hospital/edit",
    method: "post",
    data,
  });
}